//************************************************
// File Name: ListViewController.h
// Team: Team Epsilon
// Date Created: 2009/07/12
// Purpose: Show the top score completed by player. 
// Change History: 
//   * James, Date: 2009/07/12 Create File
//   * James, Date: 2009/07/14 Create variable to save scores.
//   * James, Date: 2009/07/15 Create function to display the socre. 
//   * Mark, Date: 2009/07/15 Create adding function to sum all levels.
//   * JJ, Date: 2009/07/15 Fix some score update bugs.
//   * Mark, Date: 2009/07/16 Fix sometimes that the score not display correctly.
//   * JJ, Date: 2009/07/16 Display improvments.
//   * James, Date: 2009/07/16 Display improvements.
//   * James, Date: 2009/07/16 Adding Comments.
//************************************************

#import <UIKit/UIKit.h>

// interface controller
@interface ListViewController : UIViewController 
{
	//can display name if needed
	IBOutlet UITextField *name;
	//level 0 score
	IBOutlet UILabel *level0;
	//level 1 score
	IBOutlet UILabel *level1;

	//update the score everytime
	NSTimer *timer;

	
}

//function to read the score from another view controller
-(IBAction) updatePrefs:(id) sender;

//interface builder textfield
@property(nonatomic,retain) IBOutlet UITextField *name;

//interface builder lebal to display score
@property(nonatomic,retain) IBOutlet UILabel *level0;

//interface builder lebal to display score
@property(nonatomic,retain) IBOutlet UILabel *level1;

//@property int level0;

//@property int level1;

@end
